<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ include file="/page/core/common/commonvariable.jsp"%>
<div id="edit-data-warp">
	<form class="form-horizontal" role="form" method="post">
		<div class="col-sm-12">
			<div class="form-group  col-sm-6 ">
				<div class="col-xs-26">
					<label class="control-label"><spring:message code="模块权限编号"></spring:message>
						<span style="color: red;">*</span></label>
				</div>
				<div class="col-xs-74">
				<!--  moduleMenuId 默认从树形菜单取值-->
				<input type="hidden" id="moduleMenuId" ng-model="modulePurviewForm.moduleMenuId" value="">
				<input type="hidden" id="modulePurviewId" ng-model="modulePurviewForm.modulePurviewId">
					<input type="text" onblur="commonutil.trim(this);" id="purCode"
						class="form-control b-validate"
						ng-model="modulePurviewForm.purCode" validate-feature="require"
						validate-maxCharLength="50" />
				</div>
			</div>

			<div class="form-group  col-sm-6 ">
				<div class="col-xs-26">
					<label class="control-label"><spring:message code="模块权限名称"></spring:message>
						<span style="color: red;">*</span></label>
				</div>
				<div class="col-xs-74">
				
				
					<input type="text" onblur="commonutil.trim(this);" id="purName"
						class="form-control b-validate"
						ng-model="modulePurviewForm.purName" validate-feature="require"
						validate-maxCharLength="50" />
				</div>
			</div>


			<div class="form-group  col-sm-6 ">
				<div class="col-xs-26">
					<label class="control-label"><spring:message code="模块权限国际化"></spring:message>
						<span style="color: red;"></span></label>
				</div>
				<div class="col-xs-74">
					<input type="text" onblur="commonutil.trim(this);" id="purNameKey"
						class="form-control b-validate"
						ng-model="modulePurviewForm.purNameKey" 
						validate-maxCharLength="300" />
				</div>
			</div>

			<div class="form-group  col-sm-6 ">
				<div class="col-xs-26">
					<label class="control-label"><spring:message code="模块权限路径"></spring:message>
						<span style="color: red;">*</span></label>
				</div>
				<div class="col-xs-74">
					<input type="text" onblur="commonutil.trim(this);" id="urlPath"
						class="form-control b-validate"
						ng-model="modulePurviewForm.urlPath" validate-feature="require"
						validate-maxCharLength="500" />
				</div>
			</div>

			<div class="form-group  col-sm-6 ">
				<div class="col-xs-26">
					<label class="control-label"><spring:message code="模块权限描述"></spring:message>
						<span style="color: red;"></span></label>
				</div>
				<div class="col-xs-74">
					<input type="text" onblur="commonutil.trim(this);" id="purDesc"
						class="form-control b-validate"
						ng-model="modulePurviewForm.purDesc" 
						validate-maxCharLength="300" />
				</div>
			</div>
			

			<div class="col-sm-12" style="margin-top: 20px">
				<div class="col-sm-6">
					<input type="button" ng-click="doCancel();"
						class="btn btn-primary btn-block" value="取&nbsp;&nbsp;消" />
				</div>
				<div class="col-sm-6">
					<input type="button" ng-click="doAdd();"
						class="btn btn-primary btn-block" value="保&nbsp;&nbsp;存" />
				</div>
			</div>
			</div>
	</form>
</div>
